﻿using AIVision.InspectModule.Inspect.Models;
using HalconDotNet;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace AIVision.InspectModule.Inspect
{
    /// <summary>
    /// 检查单元接口，用于统一脚本、DL Area、DL object的算法标准
    /// </summary>
    public interface ICheckUnit
    {
        EnumInspectType InspectType { get; }
        void Init(string hcFilePath, List<DefectItemModel> defectItems, int okScore);
        void Init(InspectCfgModel inspectCfg);
        void Stop();
        InspectResultModel ExUnitCheck(HObject image);
    }
}
